package JavaDesign.report_4.t_1;

/**
 * @author zouran
 * createDate：2023/10/18  8:58
 */
public class Application {
    public static void main(String args[]) {
        SeekJobCenter center = new SeekJobCenter();
        UniverStudent zhangLin = new UniverStudent(center, "A.txt");
        HaiGui wangHao = new HaiGui(center, "B.txt");

        center.giveNewMess("腾辉公司需要10个java程序员。");   //True
        center.notifyObservers();                                                          //False

        center.giveNewMess("海景公司需要8个动画设计师。");
        center.notifyObservers();
        center.giveNewMess("仁海公司需要9个电工。");
        center.notifyObservers();
        center.giveNewMess("仁海公司需要9个电工。");
        center.notifyObservers();
    }
}
